package com.example.ailiyuncloud.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.ailiyuncloud.dto.CommoditySkuDto;
import com.example.ailiyuncloud.dto.CommoditySpuDTO;
import com.example.ailiyuncloud.pojo.Result;

import java.util.List;
import java.util.Map;

/**
 * @Author: lqj
 * @Date: 2024/05/26/16:44
 * @Description:
 */
public interface CommoditySpuService {
    /**
     * 商品spu添加数据接口
     *
     * @param CommoditySkuDtoList 商品各类数据
     * @return
     */
    Result<?> addCommoditySpuService(List<CommoditySpuDTO> CommoditySkuDtoList);

    /**
     * 商品spu添加数据接口
     *
     * @param CommoditySkuDtoList 商品各类数据
     * @return
     */
    Result<?> queryCommoditySpuService(Page page, CommoditySpuDTO CommoditySkuDtoList);
}
